package components.clothingLayer {
	import UIFree.uif_component;
	
	
	import classes.clt_events;
	
	import components.clt_layer;
	import components.clt_selectBase;
	
	import data.cd_clothing;
	
	import flash.geom.Rectangle;

	public class clt_clothingLayer extends clt_layer {
		private var _clothing: clt_selectBase;
		public function clt_clothingLayer(parent:uif_component, a_height:int, align:String=ALIGNTOP, styleClass:String='') {
			super(parent, a_height, align, styleClass);
			var inner: Rectangle = getInner();
			_clothing = new clt_selectBase(this, cd_clothing, clt_servers.CLOTH_URL + 'jpg_preview/i', clt_events.SELECTCLOTH, inner.x, inner.y, inner.width, inner.height, true); 
		}
		
	}
}